package com.tony.common;

public class TonyIgnorableException extends RuntimeException {
	public static final int DB_ERROR = 1;
	
	private String businessMessage;
	
	private int errorCode;
	
	public int getErrorCode() {
		return errorCode;
	}

	
	public TonyIgnorableException(int errCode,String bMessage) {
		super();
		errorCode = errCode;
		businessMessage = bMessage;
	}

	public String getBusinessMessage() {
		return businessMessage;
	}

	public void setBusinessMessage(String businessMessage) {
		this.businessMessage = businessMessage;
	}
}
